Streams html Class
Inline editor for HTML content
Constructor
Streams html
(
-
[$options]
Parameters:
-
[$options]Array optionalthis array contains function parameters
-
publisherIdStringThe publisher's user id.
-
fieldStringThe name of the stream field used to save the html.
-
[streamName]String optionalIf empty, and "creatable" is true, then this can be used to add new related streams.
-
[placeholder]String optionalThe placeholder HTML
-
[editor="auto"]String optionalCan be "ckeditor", "froala", "basic" or "auto".
-
[editable]Boolean optionalSet to false to avoid showing even authorized users an interface to replace the contents
-
[ckeditor]Array optionalThe config, if any, to pass to ckeditor
-
[froala]Array optionalThe config, if any, to pass to froala
-
[preprocess]String optionalName of an optional function which takes [callback, tool] and calls callback(objectToExtendAnyStreamFields)
-